package com.yuda.operationcenter.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yuda.common.core.annotation.Excel;
import com.yuda.common.core.web.domain.BaseEntity;

/**
 * 标签配置对象 oper_label
 *
 * @author wyn
 * @date 2021-04-12
 */
public class OperLabel extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    private Long id;

    /**
     * $column.columnComment
     */
//    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @Excel(name="标签名称")
    private String labelName;

    /**
     * 排序值
     */
    @Excel(name = "排序值")
    private Long orderNo;

    /**
     * 0禁用 1启用
     */
    @Excel(name = "0禁用 1启用")
    private Integer status;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setLabelName(String labelName) {
        this.labelName = labelName;
    }

    public String getLabelName() {
        return labelName;
    }

    public void setOrderNo(Long orderNo) {
        this.orderNo = orderNo;
    }

    public Long getOrderNo() {
        return orderNo;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatus() {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id" , getId())
                .append("labelName" , getLabelName())
                .append("orderNo" , getOrderNo())
                .append("status" , getStatus())
                .append("createTime" , getCreateTime())
                .append("updateTime" , getUpdateTime())
                .toString();
    }
}
